package com.qf.service;

import com.qf.pojo.User;

/**
 * Created by Administrator on 2021/10/21.
 */
public interface UserService {


    /**
     *检查用户昵称是否可用---selectOne(name,null)
     * @param name
     * @return
     */
    boolean checkName(String name);

    /**
     * 登录验证---selectOne(name,pass)
     * @param name
     * @param pass
     * @return
     */
    User login(String name,String pass);
}
